package command.example.receiver;

// 电视
// 遥控器控制的对象，具体接收者

public class TV {

	public void turnOn() {
		System.out.println("TV on");
	}
	
	public void turnOff() {
		System.out.println("TV off");
	}
	
	public void setVolume(int volume) {
		System.out.println("TV volume=" + volume);
	}
	
	public void setChannel(int channel) {
		System.out.println("TV channel=" + channel);
	}
	
}
